package com.xunua.NaoZiKongBai.Bean.ApiResponse;

import java.util.List;

/**
 * @user XUNUA
 * @email xunua@outlook.com
 * @creat time 2020/5/24 4:17
 */
public class NewsList{

    /**
     * code : 1
     * msg : 数据返回成功
     * data : [{"title":"习近平：巩固机构改革成果 推进治理体系和能力现代化","imgList":null,"source":"新华网","newsId":"EJBCPBMK000189FH","digest":"习近平在深化党和国家机构改革总结会议上强调巩固党和国家机构改革成果推进国家治理体系和治理能力现代化李克强栗战书汪洋赵乐际韩正出席王沪宁主持新华社北京7月5日电深","postTime":"2019-07-05 17:45:44","videoList":null},"...这里只显示一条数据..."]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        public static final int type_text = 1;
        public static final int type_img = 2;
        public static final int type_video = 3;

        @Override
        public String toString() {
            return "DataBean{" +
                    "title='" + title + '\'' +
                    ", imgList=" + imgList +
                    ", source='" + source + '\'' +
                    ", newsId='" + newsId + '\'' +
                    ", digest='" + digest + '\'' +
                    ", postTime='" + postTime + '\'' +
                    ", videoList=" + videoList +
                    '}';
        }

        /**
         * title : 习近平：巩固机构改革成果 推进治理体系和能力现代化
         * imgList : null
         * source : 新华网
         * newsId : EJBCPBMK000189FH
         * digest : 习近平在深化党和国家机构改革总结会议上强调巩固党和国家机构改革成果推进国家治理体系和治理能力现代化李克强栗战书汪洋赵乐际韩正出席王沪宁主持新华社北京7月5日电深
         * postTime : 2019-07-05 17:45:44
         * videoList : null
         */

        private String title;
        private Object imgList;
        private String source;
        private String newsId;
        private String digest;
        private String postTime;
        private Object videoList;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getImgList() {
            return imgList;
        }

        public void setImgList(Object imgList) {
            this.imgList = imgList;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getNewsId() {
            return newsId;
        }

        public void setNewsId(String newsId) {
            this.newsId = newsId;
        }

        public String getDigest() {
            return digest;
        }

        public void setDigest(String digest) {
            this.digest = digest;
        }

        public String getPostTime() {
            return postTime;
        }

        public void setPostTime(String postTime) {
            this.postTime = postTime;
        }

        public Object getVideoList() {
            return videoList;
        }

        public void setVideoList(Object videoList) {
            this.videoList = videoList;
        }
    }
}
